Skip to content

jsp proj#17

Open
malyniak wants to merge 4 commits intovasylmalik:masterfrom
malyniak:develop
Open

jsp proj#17
malyniak wants to merge 4 commits intovasylmalik:masterfrom
malyniak:develop

Conversation

@malyniak
Copy link

No description provided.

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>18</maven.compiler.target>
<maven.compiler.source>18</maven.compiler.source>
<maven.compiler.target>19</maven.compiler.target>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use 17

public class InitServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
HttpSession currentSession = req.getSession(true);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add Logs

int index = getSelectedIndex(req);
Sign currentSign = field.getField().get(index);
if (EMPTY != currentSign) {
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/index.jsp");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants